package com.sunny.design.proxy.dynamicproxy.jdkproxy.exam1;

import com.sunny.design.proxy.Customer;
import com.sunny.design.proxy.Person;

/**
 * @author Sunny
 * @date 2020/1/1 20:00
 */
public class JDKProxyTest {
    public static void main(String[] args) {
        JDKMeiPo meiPo = new JDKMeiPo();
        Person custom = (Person) meiPo.getInstance(new Customer());
        custom.findLove();
    }
}
